package com.youlai.boot.modules.tp.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 详细指标响应VO
 * 
 * @author xiheforever
 * @since 2025-06-04
 */
@Schema(description = "详细指标数据")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DetailMetricsVO {

    @Schema(description = "客单价")
    private BigDecimal unitPrice;

    @Schema(description = "客单价增长率(%)")
    private BigDecimal unitPriceGrowth;

    @Schema(description = "访客数")
    private Integer visitors;

    @Schema(description = "访客增长率(%)")
    private BigDecimal visitorsGrowth;

    @Schema(description = "成交用户数")
    private Integer buyers;

    @Schema(description = "成交用户增长率(%)")
    private BigDecimal buyersGrowth;

    @Schema(description = "商品浏览量（K）")
    private BigDecimal productViews;

    @Schema(description = "商品浏览增长率(%)")
    private BigDecimal productViewsGrowth;

    @Schema(description = "店铺关注数")
    private Integer storeFollows;

    @Schema(description = "店铺关注增长率(%)")
    private BigDecimal storeFollowsGrowth;

    @Schema(description = "退款率(%)")
    private BigDecimal refundRate;

    @Schema(description = "退款率变化(%)")
    private BigDecimal refundRateChange;
} 